home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gLoop, gNext, gHandCUR
- set the cursor of sprite 10 to gHandCUR
- if the timer > 20 then
- startTimer()
- set dList to list("D0", "D1", "D2", "D3", "D4", "D5")
- set tList to list("D6", "D7", "D6", "D7", "D6", "D7")
- set vList to list("D8", "D9", "D8", "D9", "D8", "D9")
- set thList to list(320, 320, 320, 320, 320, 320)
- set tvList to list(383, 383, 383, 383, 383, 383)
- set vhList to list(320, 320, 320, 320, 320, 320)
- set vvList to list(96, 96, 96, 96, 96, 96)
- set the castNum of sprite 11 to the number of member getAt(tList, gLoop)
- set the castNum of sprite 12 to the number of member getAt(vList, gLoop)
- set the castNum of sprite 10 to the number of member getAt(dList, gLoop)
- set the locH of sprite 11 to getAt(thList, gLoop)
- set the locV of sprite 11 to getAt(tvList, gLoop)
- set the locH of sprite 12 to getAt(vhList, gLoop)
- set the locV of sprite 12 to getAt(vvList, gLoop)
- updateStage()
- if gLoop >= 6 then
- set gLoop to 1
- else
- set gLoop to gLoop + 1
- end if
- end if
- if (soundBusy(1) = 0) or (gNext = 1) then
- puppetSound(0)
- puppetSprite(10, 0)
- puppetSprite(11, 0)
- puppetSprite(12, 0)
- set the cursor of sprite 10 to 0
- go(the frame + 1)
- else
- go(the frame)
- end if
- end
-